Make sure that the charcode is signless
authorliiulinsong <liulinsong@kylinos.cn>
Fri, 26 May 2023 02:18:58 +0000 (10:18 +0800)
committerSimon McVittie <smcv@debian.org>
Sun, 10 Sep 2023 14:51:04 +0000 (15:51 +0100)
commit69b757aaa5e7a4d7c1f222e324674fbd752b3ba2
treed1b40ed4eaed1a0d780aaabca53e452ed7f43d3d
parent9a5820ddb1f0db04fdb1d875b8ad998310628050
Make sure that the charcode is signless

1. The data with type of char is signed by default.

2. The byte value of UTF-8 is signless by default.

3. So, if a UTF-8 charcode is stored in a char array, we should cast the
type of its value from char to unsigned char.

Origin: 3.24.39, commit:6dc75b46cc9afe1c98b7ba72a9b1a275c723ea42

Gbp-Pq: Name Make-sure-that-the-charcode-is-signless.patch
gtk/gtkcssparser.c